package request

type AlibabaServicecenterWorkcardConfirmedskuQueryRequest struct {
	/*
	   工单id     */
	WorkcardId *int64 `json:"workcard_id" required:"true" `
	/*
	   真实履约服务商Nick（非ERP系统不要填写）     */
	RealTpNick *string `json:"real_tp_nick,omitempty" required:"false" `
}

func (s *AlibabaServicecenterWorkcardConfirmedskuQueryRequest) SetWorkcardId(v int64) *AlibabaServicecenterWorkcardConfirmedskuQueryRequest {
	s.WorkcardId = &v
	return s
}
func (s *AlibabaServicecenterWorkcardConfirmedskuQueryRequest) SetRealTpNick(v string) *AlibabaServicecenterWorkcardConfirmedskuQueryRequest {
	s.RealTpNick = &v
	return s
}

func (req *AlibabaServicecenterWorkcardConfirmedskuQueryRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.WorkcardId != nil {
		paramMap["workcard_id"] = *req.WorkcardId
	}
	if req.RealTpNick != nil {
		paramMap["real_tp_nick"] = *req.RealTpNick
	}
	return paramMap
}

func (req *AlibabaServicecenterWorkcardConfirmedskuQueryRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
